package com.ruoyi.client.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class GoodsVo {

    @ApiModelProperty(value = "商品id", position = 1)
    private Long id;

    @ApiModelProperty(value = "商品标题", position = 2)
    private String title;

    @ApiModelProperty(value = "作者", position = 3)
    private String author;

    @ApiModelProperty(value = "商品原价", position = 4)
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "商品价格", position = 5)
    private BigDecimal price;

    @ApiModelProperty(value = "商品图片", position = 6)
    private String pic;

    @ApiModelProperty(value = "商品状态(全新,近新,有笔记等)", position = 7)
    private String condition;

    @ApiModelProperty(value = "商品已售数量", position = 8)
    private Long soldCount;
}
